﻿<UserControl x:Class="MoonyClock.ClockSettings"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Unloaded="UserControl_Unloaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto"  />
            <RowDefinition Height="Auto"  />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
            <StackPanel Orientation="Horizontal" Margin="3">
                <TextBlock VerticalAlignment="Center" Margin="0,0,7,0">Hours format:</TextBlock>
                <RadioButton x:Name="rb24"
                    Margin="0,0,7,0" 
                    GroupName="format" 
                    Checked="RadioButton_Checked" 
                    Unchecked="RadioButton_Unchecked">24</RadioButton>
                <RadioButton x:Name="rb12" Margin="0,0,7,0" GroupName="format">12</RadioButton>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
